<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    *{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    body{
        background-color: skyblue;
    }
    .box{
        width: 500px;
        height: 500px;
        /* border: 1px dashed gray; */
        margin: 0 auto;
        position: relative;
        animation: dongqilai 1s linear infinite;
    }
    .box>div:nth-child(-n+2){
        text-align: center;
        line-height: 120px;
        font-size: 22px;
        width: 150px;
        height: 150px;
        background-color: pink;
        border-radius: 50%;
        margin-top: 50px;
    }
    .down-heart{
        width: 150px;
        height: 150px;
        background-color: pink;
        position: absolute;
        top: 104px;
        left: 175px;
        transform: rotateZ(45deg);
    }
    .left-heart{
        position: absolute;
        left: 120px;
    }
    .right-heart{
        position: absolute;
        right: 120px;
    }
    @keyframes dongqilai {
        from {
                transform: scale(.9, .9);
            }
            to {
                transform: scale(1.1, 1.1);
            }
    }
    </style>
</head>
<body>
    <div class="box">
        <div class="left-heart">李</div>
        <div class="right-heart">二</div>
        <div class="down-heart"></div>
    </div>
</body>
</html>